#pragma once
#include "cocos2d.h"
#include "cocostudio/CocoStudio.h"
#include "ui/CocosGUI.h"
#include "../common/Common.h"
USING_NS_CC;

class MainUIRoleInfo : public cocos2d::Node
{
public:
	MainUIRoleInfo();
	~MainUIRoleInfo();
public:
	static cocos2d::Node* createNode();
	virtual bool init();
	CREATE_FUNC(MainUIRoleInfo);
public:
	bool TouchDown(Touch* touch);
	void TouchMove(Touch* touch);
	bool TouchUp(Touch* touch);

	void RefreshData();
public:
	Sprite* m_headIcon;
	Sprite* m_ackMode;
	Node* m_selectedNode;
	cocos2d::ui::Text* m_levelText;
};
